/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.enforcement.hid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 隐患检查计划
 *
 * @author daijie
 * @date 2023-07-27 09:57:01
 */
@Data
@TableName("base_hid_check_plan")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "隐患检查计划")
public class RiskHidCheckPlanEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 计划名称
	*/
    @Schema(description="计划名称")
    private String planName;

	/**
	* 计划编号
	*/
    @Schema(description="计划编号")
    private String planNo;

	/**
	* 检查表标识
	*/
    @Schema(description="检查表标识")
    private String hidCheckListConfigId;

	/**
	* 受检对象
	*/
    @Schema(description="受检对象")
    private String checkObject;


	/**
	* 检查人
	*/
    @Schema(description="检查人")
    private String checkPerson;


	/**
	* 推送类型(节假日、指定时间、指定频次)
	*/
    @Schema(description="推送类型(节假日、指定时间、指定频次)")
    private Integer pushType;

	/**
	* 推送时间
	*/
    @Schema(description="推送时间")
    private String checkTime;

	/**
	* 推送周期
	*/
    @Schema(description="推送周期")
    private String pushCycle;

	/**
	* 推送时段/小时
	*/
    @Schema(description="推送时段/小时")
    private String pushTime;

	/**
	* 推送日期/月份
	*/
    @Schema(description="推送日期/月份")
    private String pushMonth;

	/**
	* 推送日期/周
	*/
    @Schema(description="推送日期/周")
    private String pushWeek;

	/**
	* 推送日期/日
	*/
    @Schema(description="推送日期/日")
    private String pushDate;

	/**
	* 截止时长
	*/
    @Schema(description="截止时长")
    private Integer maxHandleHour;

	/**
	* 运行状态
	*/
    @Schema(description="运行状态")
    private Boolean runFlag;

	/**
	* 上次执行时间
	*/
    @Schema(description="上次执行时间")
    private Date preExecuteDate;

	/**
	* 下次执行时间
	*/
    @Schema(description="下次执行时间")
    private Date nextExecuteDate;

	/**
	* 备注
	*/
    @Schema(description="备注")
    private String remarks;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;

}
